package com.epam.chenjo.ms.salary.model;

public class SalaryDetails {
	private String empId;
	private String year;
	private String month;
	private String date;
	private Double amount;
	
	public SalaryDetails(){
		
	}
	public SalaryDetails(String empId, String year, String month, String date, Double amount){
		this.empId = empId;
		this.year = year;
		this.month = month;
		this.date = date;
		this.amount = amount;
		
	}
	@Override
	public String toString(){
		return String.format("SalaryDetails{empId=%s, year=%s, month=%s, date=%s, amount=%.2f}", empId,year,month,date,amount);
	}
	
	public String getEmpId() {
		return empId;
	}
	public void setEmpId(String empId) {
		this.empId = empId;
	}
	public String getYear() {
		return year;
	}
	public void setYear(String year) {
		this.year = year;
	}
	public String getMonth() {
		return month;
	}
	public void setMonth(String month) {
		this.month = month;
	}
	public String getDate() {
		return date;
	}
	public void setDate(String date) {
		this.date = date;
	}
	public Double getAmount() {
		return amount;
	}
	public void setAmount(Double amount) {
		this.amount = amount;
	}
}
